<template>
  <div class="property-panel" ref="processPropertyPanel">
    <el-form :inline="false"
             :model="processData"
             label-width="100px"
             size="small"
             label-position="left">
      <el-form-item label="流程名称">
        <el-input v-model="processData.name" disabled></el-input>
      </el-form-item>
      <el-form-item label="流程Key">
        <el-input v-model="processData.id" disabled></el-input>
      </el-form-item>
      <el-form-item label="流程描述">
        <el-input v-model="processData.description" disabled></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
  export default {
    name: "ProcessPropertyPanel",
    props: {
      processData: {
        type: Object,
        required: true
      }
    },
    data() {
      return {
        process: {
          name: this.processData.name,
          id: '',
          description: ''
        }
      }
    }
  }
</script>

<style lang="scss" scoped>
  .property-panel {
    padding: 10px;
    width: 100%;
  }
</style>
